package com.eightbears.beboy.entity;

/**
 * Created by Bao on 2017/5/8.
 */

public class WeChatPayEntity {
    private String message;
    private String status_code;
    private Data data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus_code() {
        return status_code;
    }

    public void setStatus_code(String status_code) {
        this.status_code = status_code;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data{
        private String app_id;
        private String merchant_id;
        private String prepay_id;
        private String nonce_str;
        private String timestamp;
        private String sign;

        public String getApp_id() {
            return app_id;
        }

        public void setApp_id(String app_id) {
            this.app_id = app_id;
        }

        public String getMerchant_id() {
            return merchant_id;
        }

        public void setMerchant_id(String merchant_id) {
            this.merchant_id = merchant_id;
        }

        public String getPrepay_id() {
            return prepay_id;
        }

        public void setPrepay_id(String prepay_id) {
            this.prepay_id = prepay_id;
        }

        public String getNonce_str() {
            return nonce_str;
        }

        public void setNonce_str(String nonce_str) {
            this.nonce_str = nonce_str;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "app_id='" + app_id + '\'' +
                    ", merchant_id='" + merchant_id + '\'' +
                    ", prepay_id='" + prepay_id + '\'' +
                    ", nonce_str='" + nonce_str + '\'' +
                    ", timestamp='" + timestamp + '\'' +
                    ", sign='" + sign + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "WeChatPayEntity{" +
                "message='" + message + '\'' +
                ", status_code='" + status_code + '\'' +
                ", data=" + data +
                '}';
    }
}
